<?php 
namespace Admin\Model;
use \Think\Model;

class GoodsTypeModel extends Model
{

	protected $_validate = array(

		array('type_name','require','商品类型名称不能为空',1),

		);

	public function getType()
	{
		return $this->select();
	}
}
 ?>
